projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2f2b3f
)
tests: Fix testfontchooser layout
author
Alexander Mikhaylenko
<alexm@gnome.org>
Sun, 10 May 2020 23:52:04 +0000
(
04:52
+0500)
committer
Alexander Mikhaylenko
<alexm@gnome.org>
Sun, 10 May 2020 23:52:04 +0000
(
04:52
+0500)
Remove an extra box so that we don't need to expand the chooser.
tests/testfontchooser.c
patch
|
blob
|
history
diff --git
a/tests/testfontchooser.c
b/tests/testfontchooser.c
index dedb011f9b41c93bd6e1db4436a851f89b7659cd..b13acbc21a569d59c5c9fda409510ce0ac81d483 100644
(file)
--- a/
tests/testfontchooser.c
+++ b/
tests/testfontchooser.c
@@
-69,7
+69,6
@@
int
main (int argc, char *argv[])
{
GtkWidget *window;
- GtkWidget *box;
GtkWidget *fontchooser;
gboolean done = FALSE;
@@
-79,9
+78,7
@@
main (int argc, char *argv[])
window = gtk_window_new ();
gtk_widget_set_size_request (window, 600, 600);
- box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
- gtk_window_set_child (GTK_WINDOW (window), box);
- gtk_container_add (GTK_CONTAINER (box), fontchooser);
+ gtk_window_set_child (GTK_WINDOW (window), fontchooser);
gtk_widget_show (window);